public class NullPointerExceptionTest {
    public static void main(String[] args) {
        String[] strings = new String[5];
//        strings[0] = "hello";
        System.out.println(strings[0].charAt(0));//h

        int[][] arr = new int[5][];
//        System.out.println(arr[0][0]);
//        System.out.println(arr[0].length);
    }
}
